[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
##############################################################################
###+-------+##################################################################
#+-| ABS() |------------------------+#########################################
#| +-------+ Returns absolute value |#########################################
#+----------------------------------+#########################################
##############################################################################
##############################################################################
#+--| Summary |--------------+################################################
#|     #INCLUDE math.hdr     |################################################
#+---------------------------+################################################
##############################################################################
##############################################################################
#+--| Syntax |------------------------+#######################################
#|     FUNCTION DBL abs PROTOTYPE     |#######################################
#|      PARAMETERS CONST DBL exp      |#######################################
#+------------------------------------+#######################################
##############################################################################
##############################################################################
###################+--| Description |------------------------+################
###################| The abs() function returns the absolute |################
###################| value of the expression exp.            |################
###################+-----------------------------------------+################
##############################################################################
##############################################################################
#########+--| Example 1 |-------------------------------------------+#########
#########|                                                          |#########
#########| ? abs( -50 )                && returns 50                |#########
#########| ? abs( 50 )                 && returns 50                |#########
#########| ? abs( 0 )                  && returns 0                 |#########
#########+----------------------------------------------------------+#########
##############################################################################

See Also: trunc()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson